# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=keyfinder-cli
pkgver=1.1.2
pkgrel=0
pkgdesc="Musical key detection for digital audio (command line)"
url="https://github.com/EvanPurkhiser/keyfinder-cli"
arch="all"
license="GPL-3.0-only"
makedepends="libkeyfinder-dev ffmpeg-dev"
subpackages="$pkgname-doc"
source="keyfinder-cli-$pkgver.tar.gz::https://github.com/EvanPurkhiser/keyfinder-cli/archive/v$pkgver.tar.gz"
options="!check"

build() {
	make
}

package() {
	make PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="
9d529cf8604b8bd29b4c74775257ccb02b12171a9ad6cdb4f2e1d968214002ba2502a5331ae23af93b8560ae6b943211346e6b70be1c2924e035234e59fa5480  keyfinder-cli-1.1.2.tar.gz
"
